// 收费处理-总收费
var chargeDealTotalCtrl = myApp.controller('chargeDealTotalCtrl', ['$scope', '$rootScope', function($scope, $rootScope) {
	$rootScope.firstType = Tools.permissionList[3].permissionId;
	$rootScope.secondType = Tools.permissionList[3].sonPermission[5].permissionId;
	// 初始化
	function init() {
		$(document).ready(function() {
			// console.log($rootScope.secondType);
		});
	}
	init();
}]);

// 收费处理-月度收费明细
var chargeDealMonthCtrl = myApp.controller('chargeDealMonthCtrl', ['$scope', '$rootScope', function($scope, $rootScope) {
	$rootScope.firstType = Tools.permissionList[3].permissionId;
	$rootScope.secondType = Tools.permissionList[3].sonPermission[5].permissionId;
	// 初始化
	function init() {
		$(document).ready(function() {
			// console.log($rootScope.secondType);
		});
	}
	init();
}]);

// 收费处理-每月分摊
var chargeDealOverviewCtrl = myApp.controller('chargeDealOverviewCtrl', ['$scope', '$rootScope', function($scope, $rootScope) {
	$rootScope.firstType = Tools.permissionList[3].permissionId;
	$rootScope.secondType = Tools.permissionList[3].sonPermission[5].permissionId;
	// 初始化
	function init() {
		$(document).ready(function() {
			// console.log($rootScope.secondType);
		});
	}
	init();
}]);